package com.derbysoft.nuke.configkeeper.repository;

import com.derbysoft.nuke.configkeeper.domain.Config;
import com.derbysoft.nuke.configkeeper.domain.ConfigHistory;

import java.util.List;

public interface ConfigRepository {

    List<String> getSources();

    void save(Config config);

    void saveHistory(ConfigHistory configHistory);

    Config get(String source);

    List<ConfigHistory> findHistory(String source, Long timestamp);
}
